package lianxi.anli;

public class Student extends Person {
    int number;
    String className;

    public Student() {
    }

    public Student(int number, String className) {
        this.number = number;
        this.className = className;
    }
    public Student(String name,int age,int number, String className){
        this.name = name;
        this.age = age;
        this.number = number;
        this.className = className;
    }

    public void study(){
        System.out.println("我爱学习");
    }
}
